package com.huaxiafinance.management.dto.request;

import com.huaxiafinance.management.model.*;

import javax.validation.Valid;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * Created by lenovo on 2017/9/6.
 */
public class AddScoreProDto {
    /**
     * 基本商品信息
     */
    @Valid
    private MallProduct info;
    /**
     * 美妆护肤
     */
    private MzhfProductParam parameter;
    /**
     * 手机数码
     */
    private SjsmProductParam sjsmPro;
    /**
     * 时尚轻奢
     */
    private SsqsProductParam ssqsPro;
    /**
     * 健康养生
     */
    private JkysProductParam jkysPro;
    /**
     * sku信息
     */
    @Size(min = 1,message = "sku最少一个")
    @Valid
    private List<ProductSku> sku;
    /**
     * 介绍图片
     */
    @Size(min = 2,message = "介绍图片最少两个")
    private List<MallProductImg> introduceImg;
    /**
     * 商品图片
     */
    @Size(min = 1,message = "商品图片最少一个")
    private List<MallProductImg> imgList;



    public MallProduct getInfo() {
        return info;
    }

    public void setInfo(MallProduct info) {
        this.info = info;
    }

    public MzhfProductParam getParameter() {
        return parameter;
    }

    public void setParameter(MzhfProductParam parameter) {
        this.parameter = parameter;
    }

    public SjsmProductParam getSjsmPro() {
        return sjsmPro;
    }

    public void setSjsmPro(SjsmProductParam sjsmPro) {
        this.sjsmPro = sjsmPro;
    }

    public SsqsProductParam getSsqsPro() {
        return ssqsPro;
    }

    public void setSsqsPro(SsqsProductParam ssqsPro) {
        this.ssqsPro = ssqsPro;
    }

    public JkysProductParam getJkysPro() {
        return jkysPro;
    }

    public void setJkysPro(JkysProductParam jkysPro) {
        this.jkysPro = jkysPro;
    }

    public List<ProductSku> getSku() {
        return sku;
    }

    public void setSku(List<ProductSku> sku) {
        this.sku = sku;
    }

    public List<MallProductImg> getIntroduceImg() {
        return introduceImg;
    }

    public void setIntroduceImg(List<MallProductImg> introduceImg) {
        this.introduceImg = introduceImg;
    }

    public List<MallProductImg> getImgList() {
        return imgList;
    }

    public void setImgList(List<MallProductImg> imgList) {
        this.imgList = imgList;
    }

}
